package cn.fintecher.gis.model;


import lombok.Data;

/**
 * Created by ChenChang on 2017/8/25.
 */
@Data
public class AccountChangeResult {
    private State state;
    //    private Account account;
    private String reason;

    public Boolean isSuccess() {
        if (state == State.SUCCESS) {
            return true;
        }
        return false;
    }

    public enum State {
        SUCCESS, FAILURE
    }
}
